package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Orders;
import com.itheima.reggie.dto.OrderDto;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface OrdersService extends IService<Orders> {
    void submit(Orders orders);

    Page<OrderDto> findPage(int page, int pageSize);

    Page<Orders> findPageOrders(int page, int pageSize, String number, LocalDateTime beginTime, LocalDateTime endTime);

    void updateStatus(Orders orders);
}
